package com.yang.jxj.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yang
 * @since 2024-06-25
 */
@ApiModel(value = "Scholarship对象", description = "")
public class Scholarship implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("student_id")
    private Integer studentId;

    private String name;

    private Integer scholarshipS;

    @ApiModelProperty("奖项名称")
    private String scho;

    @ApiModelProperty("学生分数")
    private String score;

    @ApiModelProperty("审核状态")
    private String status;

    private String grade;

    @ApiModelProperty("申请时间")
    @TableField(fill = FieldFill.INSERT)
    private Date creatTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date  updateTime;

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getScholarshipS() {
        return scholarshipS;
    }

    public void setScholarshipS(Integer scholarshipS) {
        this.scholarshipS = scholarshipS;
    }

    public String getScho() {
        return scho;
    }

    public void setScho(String scho) {
        this.scho = scho;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date  getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date  creatTime) {
        this.creatTime = creatTime;
    }

    public Date  getUpadteTime() {
        return updateTime;
    }

    public void setUpadteTime(Date  updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Scholarship{" +
            "studentId = " + studentId +
            ", name = " + name +
            ", scholarshipS = " + scholarshipS +
            ", scho = " + scho +
            ", score = " + score +
            ", status = " + status +
            ", creatTime = " + creatTime +
            ", upadteTime = " + updateTime +
        "}";
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }
}
